﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NJT.ValueConverter;

namespace NJT.Test.ValueConverter
{

    [TestClass]
    public class Bool真显示test
    {
        [TestMethod]
        public void Bool真显示_test()
        {
            var b = new Bool真显示();

            Assert.AreEqual(Visibility.Visible, b.Convert(true, typeof(Visibility), null, CultureInfo.CurrentCulture));

            Assert.AreEqual(Visibility.Collapsed, b.Convert(false, typeof(Visibility), null, CultureInfo.CurrentCulture));
        }
    }



}
